home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950329-19950528 / 000137_news@columbia.edu_Fri Apr 14 22:01:32 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA25128
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Fri, 14 Apr 1995 18:01:36 -0400
  3. Received: by apakabar.cc.columbia.edu id AA16409
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Fri, 14 Apr 1995 18:01:34 -0400
  5. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  6. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Kermit in background
  9. Date: 14 Apr 1995 22:01:32 GMT
  10. Organization: Columbia University
  11. Lines: 33
  12. Message-Id: <3mmrbs$g0m@apakabar.cc.columbia.edu>
  13. References: <3mmf9b$ial@meaddata.meaddata.com>
  14. Nntp-Posting-Host: watsun.cc.columbia.edu
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. In article <3mmf9b$ial@meaddata.meaddata.com>,
  18. Robert Gerardy <robertg@meaddata.com> wrote:
  19. : The version of kermit we have (C-kermit?), when I run it with -riqd
  20. : command line options, appears to attempt to open /dev/tty and otherwise
  21. : behave in an unacceptable manner :-). Is there some way to make it do
  22. : what I want, or is there a program that just implements the protocol
  23. : using stdin/stdout as the port, without all the interactive program
  24. : baggage?
  25. All of those.  Just read the documentation.
  26.  
  27. : I have a program that dials a modem and connects to a remote system. It
  28. : then executes a dialog with a kermit on the remote to set it up to
  29. : transfer a file.  Then I want it to receive the file via kermit on my
  30. : local system. I want kermit to just come up, receive a file via
  31. : stdin/stdout and then go away.  The whole thing will be executed via a
  32. : crontab, so there will be no /dev/tty.  This is on a Sun/Solaris box.
  33. This is a roundabout way of doing what you want.  You don't need to
  34. write a program to do this -- Kermit itself can do all of it.  Just
  35. make a Kermit command file (script program) that does the dialing,
  36. the logging in, the starting of Kermit on the other end, and the
  37. transferring of files.  It's much more straightforward that way, and it's
  38. how C-Kermit was designed to work.  See Chapters 11-13 of "Using C-Kermit".
  39.  
  40. You can also make it work in the setup you have, but it's more
  41. complicated.  The best way of doing it is by having your program pass
  42. the communication line's file descriptor to Kermit in the -l command-line
  43. option.  Read about this in Chapter 14 of "Using C-Kermit".
  44.  
  45. Btw, the current version of C-Kermit is 5A(190).
  46.  
  47. - Frank